//
//  GSGooglePlus.h
//  AgileNYC
//
//  Created by German on 27.06.14.
//  Copyright (c) 2014 Softlegion. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <GooglePlus/GooglePlus.h>

typedef void(^GSSuccessfullBlock)(void);
typedef void(^GSImageReceivedBlock)(NSData * userImage);
typedef void(^GSFailureBlock)(NSError * error);

@interface GSGooglePlus : NSObject

-(void) loginToGooglePlus:(int) reserved
                onSuccess:(void(^)(void))success
                onFailure:(void(^)(NSError * error)) failure;

- (void)requestUserInfo:(int) reserved
              onSuccess:(void(^)(NSDictionary * userInfo)) success
              onFailure:(void(^)(NSError * error)) failure;


- (void)requestUserInfoWithImageHeight:(NSInteger) height
                                 Width:(NSInteger) width
                             onSuccess:(void(^)(NSDictionary * userInfo)) success
                       onImageReceived:(void(^)(NSData* userImage)) imageReceived
                             onFailure:(void(^)(NSError * error)) failure;


@end
